//
//  TimeCity.m
//  课堂代码One
//
//  Created by dllo on 16/7/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TimeCity.h"

@implementation TimeCity
- (void)dealloc{
      [_name release];
      [_cityNumber release];
      [super dealloc];
}
- (instancetype)initWithName:(NSString *)name cityNumber:(NSString *)cityNumber{
      if (self = [super init]) {
            _cityNumber = cityNumber;
            _name = name;
      }
      return self;

}
- (NSString *)description{
      return [NSString stringWithFormat:@"%@ %@", _name, _cityNumber];
}
@end
